package spring.chatroom.java_chatroom.pojo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//import spring.chatroom.java_chatroom.pojo.model.userInfo;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {
    Integer userId = 0;
    String userName = "";
    String password = "";
    String sign;
    String email;
    /**
     * 头像直接给名字就好 xxx.png xxx.jpg
     */
    String headPortrait;

    /**
     * 背景直接给名字就好 xxx.png xxx.jpg
     */
    String backgroundUrl;
    public UserInfo(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }
}




